package com.karrysong.blog_springboot.handle;

/**
 * @ClassName: Cache
 * @Author: KarrySong
 * @Date: 2022/8/10 10:08
 * @Description:
 */
import java.lang.annotation.*;

@Target({ElementType.METHOD})
@Retention(RetentionPolicy.RUNTIME)
@Documented
public @interface Cache {

    long expire() default 60 * 1000;

    String name() default "";

}
